/**
 * Demonstrates a range of Button options the framework offers out of the box
 */
Ext.define('cloud.view.push.PushMessage', {
    extend: 'Ext.form.FormPanel',
    xtype: 'pushmessage',

    requires: ['Ext.form.Panel', 'Ext.field.Hidden'],
    config: {
        //style:'font-size:14px',
        title: '消息推送',
        items: [
            {
                xtype: 'toolbar',
                docked: 'bottom',
                layout: {
                    type: 'hbox',
                    pack: 'end'
                },
                items: [
                    {
                        id: 'push_submit',
                        iconMask: true,
                        scope: this,
                        cls: 'x-button2',
                        text: '推送',
                        style: 'float:right'
                    }
                ]
            },
            {
                xtype: 'fieldset',
                title: '消息推送',
                items:[
                    {
                        xtype: 'hiddenfield',
                        name: 'udid'
                    },
                    {
                        xtype: 'hiddenfield',
                        name: 'type',
                        id: 'push_type'
                    },
                    {
                        xtype: 'textareafield',
                        height:'300px',
                        required: true,
                        clearIcon: true,
                        label: '推送的消息',
                        name: 'message'
                    }
                ]
            }

        ]
    }
});